package com.hl.im.server;

import com.hl.im.server.server.IMServer;
import org.slf4j.MDC;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * @author huanglin
 * @apiNote
 * @date: 2023/09/04 15:25
 */
@SpringBootApplication(scanBasePackages = {"com.hl.im.*"})
@RestController
@EnableDiscoveryClient
@EnableFeignClients
public class ImServerApplication {
    public static final String Trace_Id = "Trace_Id";


    public static void main(String[] args) {
        SpringApplication.run(ImServerApplication.class, args);

        // 启动ws
        IMServer imServer = new IMServer();
        imServer.start();
    }


}


